<?php
/**
 * Intreface DAO
 *
 * @author: http://phpdao.com
 * @date: 2012-05-30 11:06
 */
interface HsSchoolDAO{

	/**
	 * Get Domain object by primry key
	 *
	 * @param String $id primary key
	 * @Return HsSchool 
	 */
	public function load($id);

	/**
	 * Get all records from table
	 */
	public function queryAll();
	
	/**
	 * Get all records from table ordered by field
	 * @Param $orderColumn column name
	 */
	public function queryAllOrderBy($orderColumn);
	
	/**
 	 * Delete record from table
 	 * @param hsSchool primary key
 	 */
	public function delete($schoolID);
	
	/**
 	 * Insert record to table
 	 *
 	 * @param HsSchool hsSchool
 	 */
	public function insert($hsSchool);
	
	/**
 	 * Update record in table
 	 *
 	 * @param HsSchool hsSchool
 	 */
	public function update($hsSchool);	

	/**
	 * Delete all rows
	 */
	public function clean();

	public function queryBySchoolName($value);

	public function queryBySchoolStAddress1($value);

	public function queryBySchoolStAddress2($value);

	public function queryBySchoolCity($value);

	public function queryBySchoolState($value);

	public function queryBySchoolCountry($value);

	public function queryBySchoolZipCode($value);


	public function deleteBySchoolName($value);

	public function deleteBySchoolStAddress1($value);

	public function deleteBySchoolStAddress2($value);

	public function deleteBySchoolCity($value);

	public function deleteBySchoolState($value);

	public function deleteBySchoolCountry($value);

	public function deleteBySchoolZipCode($value);


}
?>